From: Juanma Barranquero Date: Sat, 16 Dec 2006 20:38:14 +0000 (+0000) Subject: (Ftry_completion): Check that obarray buckets are symbols. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~3410 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=44b4be2f6fb7b7521952be66208c9a92482ac9d1;p=emacs.git (Ftry_completion): Check that obarray buckets are symbols. --- diff --git a/src/minibuf.c b/src/minibuf.c index c2df83253fd..ab95b5f0a46 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1311,6 +1311,8 @@ is used to further constrain the set of candidates. */) { if (!EQ (bucket, zero)) { + if (!SYMBOLP (bucket)) + error ("Bad data in guts of obarray"); elt = bucket; eltstring = elt; if (XSYMBOL (bucket)->next)